package cnic.ai.nacos.controller

import org.springframework.web.bind.annotation.PathVariable
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController

@RequestMapping("say")
@RestController
class SayController {
    @RequestMapping("/{id}")
    fun test(@PathVariable id: String): String? {
        println(id)
        return "From NacosDiscoveryApplicaton. Hello $id"
    }
}